package com.yanmaohu.yulia.statement;

import com.yanmaohu.yulia.bean.CharacterSetSpecificationList;

/**
 * @author Bright Lee
 */
public final class SetSessionCollationStatementSubtype2 implements SetSessionCollationStatement {

    private int beginIndex;
    private int endIndex;
    private CharacterSetSpecificationList characterSetSpecificationList;

    public SetSessionCollationStatementSubtype2(int beginIndex,
                                                int endIndex,
                                                CharacterSetSpecificationList characterSetSpecificationList) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.characterSetSpecificationList = characterSetSpecificationList;
    }

    @Override
    public int getBeginIndex() {
        return beginIndex;
    }

    @Override
    public int getEndIndex() {
        return endIndex;
    }

    public CharacterSetSpecificationList getCharacterSetSpecificationList() {
        return characterSetSpecificationList;
    }

}
